package com.hspedu.extends_.improve;


public class TestExtends {
    public static void main(String[] args) {
        Pupil pupil = new Pupil();
        pupil.name = "高晶晶";
        pupil.age = 19;
        pupil.testing();
        pupil.setScore(59);
        pupil.showInfo();

        System.out.println("=============");
        Graduate graduate = new Graduate();
        graduate.name = "冯捷";
        graduate.age = 19;
        graduate.testing();
        graduate.setScore(59);
        graduate.showInfo();

    }
}
